<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>《C语言程序设计》在线考试系统 - 网站管理员 </title>
<meta name="Copyright" content="Douco Design." />
<link href="{$smarty.const.Admin_URL}css/public.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{$smarty.const.Admin_URL}js/jquery.min.js"></script>
<script type="text/javascript" src="{$smarty.const.Admin_URL}js/global.js"></script>
</head>
{include file="../Index/top.html"}
 <div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">题库首页<b>></b><strong>网站管理员</strong> </div>   <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3><a href="manager.html" class="actionBtn">返回列表</a>网站管理员</h3>
            <form action="{$smarty.const.__SELF__}" method="post">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
      <tr>
       <td width="100" align="right">管理员名称</td>
       <td>
        <input type="text" name="name" size="40" class="inpMain" value="{$ma.name}" {if $ma.name != false}disabled="disabled"{/if}/> 
        <span style="color:red; padding-left:64px;">{if $ma.name == false}{$error.name|default:'注册后不可修改'}{/if}</span>
       </td>
      </tr>
      <tr>
       <td width="100" align="right">电话号码</td>
       <td>
        <input type="text" name="number" size="40" class="inpMain" value="{$ma.number}"/> <span style="color:red; padding-left:64px;">{$error.number|default:''}</span>
       </td>
      </tr>
      <tr>
          <td align="right">角色</td>
          <td>
          <select name="role">
          {foreach $rol as $l}
			<option value="{$l.role_id}" {if $l.role_id==$ma.role} selected="selected"{/if}>{$l.role_name}</option>
			{/foreach}
           </select>
          </td>
      </tr>
      <tr>
       <td align="right">密码</td>
       <td>
        <input type="password" name="password" size="40" class="inpMain" /> <span style="color:red; padding-left:64px;">{$error.password|default:''}</span>

      </tr>
      <tr>
       <td align="right">确认密码</td>
       <td>
        <input type="password" name="repassword" size="40" class="inpMain" /> <span style="color:red; padding-left:64px;">{$error.repassword|default:''}</span>
       </td>
      </tr>
      <tr>
       <td></td>
       <td>
        <input type="submit" class="btn" value="提交" />
       </td>
      </tr>
     </table>
    </form>
                   </div>
 </div>
 <div class="clear"></div>
<div id="dcFooter">
 <div id="footer">
  <div class="line"></div>
  <ul>
《C语言程序设计》在线考试系统，版权所有
  </ul>
 </div>
</div><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html>